{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}/Users/violetta/Dropbox/Delegation-ML-Project/FINAL-OUTPUT-DATA/APSR_RnR/Application Data/replication_subsamples.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}28 Feb 2019, 12:42:54
{txt}
{com}. ** Replication of Table 5.6
. 
. *drop cook* 
. 
. /// Express our discretion indices as percentages like Franchino
> 
. g dg10 = discretionms10*100
{txt}(12 missing values generated)

{com}. g dg20 = discretionms20*100
{txt}(12 missing values generated)

{com}. g dg40 = discretionms40*100
{txt}(12 missing values generated)

{com}. 
. g oursampleg = 0
{txt}
{com}. replace oursampleg = 1 if dg10!=. & dg !=.
{txt}(146 real changes made)

{com}. 
. 
. /// Replicate Franchino Table
> 
. // foreach var in dg dg_full dg_nt dg_na{c -(}
. 
. //      qui reg `var' Prog_and_Comm DR_bin IntegrationRange AV LeftRightRange
. //      predict cookm1`var', cooksd
. //      g outm1`var' = 0
. //      recode outm1`var' 0=1 if cookm1`var'>(4/158)
. //      qui reg `var' Prog_and_Comm DR_bin IntegrationRange AV LeftRightRange if !outm1`var', r
. //      est sto m_`var'
.         
. // {c )-}
. 
. // esttab m_dg m_dg_full m_dg_nt m_dg_na,  b(%9.3f) t(%9.2f) ar2(%9.2f) star(* 0.10 ** 0.05 *** 0.01) label
. 
. foreach var in dg dg10 dg20 dg40{c -(}
{txt}  2{com}. 
.         qui tobit `var' Prog_and_Comm DR_bin IntegrationRange AV LeftRightRange, ll(0)
{txt}  3{com}.         est sto mt_`var'
{txt}  4{com}.         
. {c )-}
{txt}
{com}. 
. qui tobit dg Prog_and_Comm DR_bin IntegrationRange AV LeftRightRange if oursampleg, ll(0)
{txt}
{com}.         est sto mt_os
{txt}
{com}.         
. esttab mt_dg mt_os mt_dg10 mt_dg20 mt_dg40, b(%9.3f) t(%9.2f) drop(var*) pr2(%9.2f) star(* 0.10 ** 0.05 *** 0.01) label
{res}
{txt}{hline 100}
{txt}                              (1)             (2)             (3)             (4)             (5)   
{txt}                              d g             d g            dg10            dg20            dg40   
{txt}{hline 100}
{res}main                                                                                                {txt}
{txt}Prog_and_Comm       {res}        7.877***        8.484***        4.506***        4.691***        6.372***{txt}
                    {res} {ralign 12:{txt:(}3.97{txt:)}}    {ralign 12:{txt:(}4.03{txt:)}}    {ralign 12:{txt:(}2.63{txt:)}}    {ralign 12:{txt:(}3.01{txt:)}}    {ralign 12:{txt:(}4.15{txt:)}}   {txt}

{txt}DR_bin              {res}       -4.242**        -3.793*         -2.423          -1.448          -0.392   {txt}
                    {res} {ralign 12:{txt:(}-2.12{txt:)}}    {ralign 12:{txt:(}-1.79{txt:)}}    {ralign 12:{txt:(}-1.40{txt:)}}    {ralign 12:{txt:(}-0.93{txt:)}}    {ralign 12:{txt:(}-0.25{txt:)}}   {txt}

{txt}Integration Range   {res}        0.768**         0.777**         0.564*          0.186           0.243   {txt}
                    {res} {ralign 12:{txt:(}2.14{txt:)}}    {ralign 12:{txt:(}2.07{txt:)}}    {ralign 12:{txt:(}1.84{txt:)}}    {ralign 12:{txt:(}0.67{txt:)}}    {ralign 12:{txt:(}0.89{txt:)}}   {txt}

{txt}Policy Range        {res}      -18.047**       -26.024***      -32.413***      -20.990***      -18.713***{txt}
                    {res} {ralign 12:{txt:(}-2.24{txt:)}}    {ralign 12:{txt:(}-2.93{txt:)}}    {ralign 12:{txt:(}-4.36{txt:)}}    {ralign 12:{txt:(}-3.23{txt:)}}    {ralign 12:{txt:(}-2.89{txt:)}}   {txt}

{txt}Left-Right Range    {res}        2.284           2.411           3.801***        0.906           3.561***{txt}
                    {res} {ralign 12:{txt:(}1.50{txt:)}}    {ralign 12:{txt:(}1.51{txt:)}}    {ralign 12:{txt:(}2.91{txt:)}}    {ralign 12:{txt:(}0.77{txt:)}}    {ralign 12:{txt:(}3.05{txt:)}}   {txt}

{txt}Constant            {res}        7.862*          8.589*          8.493**        11.601***        2.823   {txt}
                    {res} {ralign 12:{txt:(}1.83{txt:)}}    {ralign 12:{txt:(}1.91{txt:)}}    {ralign 12:{txt:(}2.33{txt:)}}    {ralign 12:{txt:(}3.51{txt:)}}    {ralign 12:{txt:(}0.86{txt:)}}   {txt}
{txt}{hline 100}
{txt}Observations        {res}          158             146             146             146             146   {txt}
{txt}Pseudo R-squared    {res}         0.03            0.03            0.04            0.02            0.04   {txt}
{txt}{hline 100}
{txt}t statistics in parentheses
{txt}* p<0.10, ** p<0.05, *** p<0.01

{com}. 
. 
. ** Replication of Table 5.9 -- Right panel with commissioner preferences, Full Model 4b
. 
. /// Express our discretion indices as percentages like Franchino
> 
. g dc10 = discretioncom10*100
{txt}(12 missing values generated)

{com}. g dc20 = discretioncom20*100
{txt}(12 missing values generated)

{com}. g dc40 = discretioncom40*100
{txt}(12 missing values generated)

{com}. 
. g oursamplec = 0
{txt}
{com}. replace oursamplec = 1 if dc10!=. & dc !=.
{txt}(146 real changes made)

{com}. 
. 
. //      qui reg dc DetRules DR_bin CT
. //      predict cookm5, cooksd
. //      g outm5 = 0
. //      recode outm5 0=1 if cookm5>(4/158)
. //      reg dc DetRules DR_bin CT if !outm5, r
. //      est sto m1b
.         
. //      qui reg dc DetRules DR_bin DA
. //      predict cookm6, cooksd
. //      g outm6 = 0
. //      recode outm6 0=1 if cookm6>(4/158)
. //      reg dc DetRules DR_bin DA if !outm6, r
. //      est sto m2b
.         
. //      qui reg dc DetRules DR_bin CW
. //      predict cookm7, cooksd
. //      g outm7 = 0
. //      recode outm7 0=1 if cookm7>(4/158)
. //      reg dc DetRules DR_bin CW if !outm7, r
. //      est sto m3b
. 
. foreach var in dc dc10 dc20 dc40{c -(}
{txt}  2{com}. 
. //      qui reg `var' DetRules DR_bin CT DA CW
. //      predict cookm8`var', cooksd
. //      g outm8`var' = 0
. //      recode outm8`var' 0=1 if cookm8`var'>(4/158)
. //      qui reg `var' DetRules DR_bin CT DA CW if !outm8`var', r
. //      est sto m4b_`var'
.         
.         qui tobit `var' DetRules DR_bin CT DA CW, ll(0)
{txt}  3{com}.         est sto m5b_`var'
{txt}  4{com}. {c )-}
{txt}
{com}. 
. qui tobit dc DetRules DR_bin CT DA CW if oursamplec, ll(0)
{txt}
{com}. est sto m5b_os
{txt}
{com}. 
. //      esttab m4b_dc m4b_dc_full m4b_dc_nt m4b_dc_na,  b(%9.3f) t(%9.2f) ar2(%9.2f) star(* 0.10 ** 0.05 *** 0.01) label
. 
. esttab m5b_dc m5b_os m5b_dc10 m5b_dc20 m5b_dc40, b(%9.3f) t(%9.2f) pr2(%9.2f) drop(var*)  star(* 0.10 ** 0.05 *** 0.01) label
{res}
{txt}{hline 100}
{txt}                              (1)             (2)             (3)             (4)             (5)   
{txt}                              d c             d c            dc10            dc20            dc40   
{txt}{hline 100}
{res}main                                                                                                {txt}
{txt}Det. Rules          {res}        1.566***        1.633***        1.430***        1.387***        1.482***{txt}
                    {res} {ralign 12:{txt:(}4.32{txt:)}}    {ralign 12:{txt:(}3.99{txt:)}}    {ralign 12:{txt:(}3.90{txt:)}}    {ralign 12:{txt:(}3.68{txt:)}}    {ralign 12:{txt:(}4.60{txt:)}}   {txt}

{txt}DR_bin              {res}        5.750**         5.920**         2.299           2.732           2.796   {txt}
                    {res} {ralign 12:{txt:(}2.61{txt:)}}    {ralign 12:{txt:(}2.52{txt:)}}    {ralign 12:{txt:(}1.14{txt:)}}    {ralign 12:{txt:(}1.28{txt:)}}    {ralign 12:{txt:(}1.54{txt:)}}   {txt}

{txt}Conflict Integrati~){res}       -0.873          -0.978          -0.584          -1.920***       -0.997*  {txt}
                    {res} {ralign 12:{txt:(}-1.30{txt:)}}    {ralign 12:{txt:(}-1.39{txt:)}}    {ralign 12:{txt:(}-0.96{txt:)}}    {ralign 12:{txt:(}-2.63{txt:)}}    {ralign 12:{txt:(}-1.77{txt:)}}   {txt}

{txt}Conflict St. Polic~){res}        6.598           2.469          -1.946          -6.095           1.340   {txt}
                    {res} {ralign 12:{txt:(}0.39{txt:)}}    {ralign 12:{txt:(}0.13{txt:)}}    {ralign 12:{txt:(}-0.12{txt:)}}    {ralign 12:{txt:(}-0.35{txt:)}}    {ralign 12:{txt:(}0.09{txt:)}}   {txt}

{txt}Conflict Left-Righ~){res}       -0.378           0.027          -0.579          -0.921          -0.987   {txt}
                    {res} {ralign 12:{txt:(}-0.30{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}-0.48{txt:)}}    {ralign 12:{txt:(}-0.71{txt:)}}    {ralign 12:{txt:(}-0.90{txt:)}}   {txt}

{txt}Constant            {res}       -4.022          -4.164          -1.205           0.121          -1.407   {txt}
                    {res} {ralign 12:{txt:(}-1.41{txt:)}}    {ralign 12:{txt:(}-1.37{txt:)}}    {ralign 12:{txt:(}-0.48{txt:)}}    {ralign 12:{txt:(}0.05{txt:)}}    {ralign 12:{txt:(}-0.61{txt:)}}   {txt}
{txt}{hline 100}
{txt}Observations        {res}          158             146             146             146             146   {txt}
{txt}Pseudo R-squared    {res}         0.06            0.06            0.04            0.06            0.07   {txt}
{txt}{hline 100}
{txt}t statistics in parentheses
{txt}* p<0.10, ** p<0.05, *** p<0.01

{com}. 
{txt}end of do-file

{com}. reg  Prog_and_Comm DR_bin IntegrationRange AV LeftRightRange

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       158
{txt}{hline 13}{c +}{hline 34}   F(4, 153)       = {res}     0.82
{txt}       Model {c |} {res} .829703209         4  .207425802   {txt}Prob > F        ={res}    0.5135
{txt}    Residual {c |} {res} 38.6449803       153  .252581571   {txt}R-squared       ={res}    0.0210
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}   -0.0046
{txt}       Total {c |} {res} 39.4746835       157  .251431105   {txt}Root MSE        =   {res} .50257

{txt}{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   Prog_and_Comm{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      t{col 50}   P>|t|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 10}DR_bin {c |}{col 18}{res}{space 2}-.0659507{col 30}{space 2} .0815026{col 41}{space 1}   -0.81{col 50}{space 3}0.420{col 58}{space 4}-.2269665{col 71}{space 3} .0950651
{txt}IntegrationRange {c |}{col 18}{res}{space 2}-.0060714{col 30}{space 2} .0147466{col 41}{space 1}   -0.41{col 50}{space 3}0.681{col 58}{space 4}-.0352045{col 71}{space 3} .0230618
{txt}{space 14}AV {c |}{col 18}{res}{space 2} .1442403{col 30}{space 2}  .325732{col 41}{space 1}    0.44{col 50}{space 3}0.659{col 58}{space 4}-.4992727{col 71}{space 3} .7877533
{txt}{space 2}LeftRightRange {c |}{col 18}{res}{space 2} .0907281{col 30}{space 2} .0617711{col 41}{space 1}    1.47{col 50}{space 3}0.144{col 58}{space 4}-.0313063{col 71}{space 3} .2127626
{txt}{space 11}_cons {c |}{col 18}{res}{space 2} .3628497{col 30}{space 2} .1722894{col 41}{space 1}    2.11{col 50}{space 3}0.037{col 58}{space 4} .0224764{col 71}{space 3}  .703223
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{com}. vif

{txt}    Variable {c |}       VIF       1/VIF  
{hline 13}{c +}{hline 22}
Integratio~e {c |} {res}     1.06    0.944387
{txt}LeftRightR~e {c |} {res}     1.04    0.957637
{txt}{space 6}DR_bin {c |} {res}     1.04    0.962788
{txt}{space 10}AV {c |} {res}     1.03    0.966430
{txt}{hline 13}{c +}{hline 22}
    Mean VIF {c |} {res}     1.04

{com}. findit levine mle measurement error

. exit, clear
